using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

public partial class ThemDanhMucPhu : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if(!IsPostBack)
        {
            DanhMucChinh_Ctl DMC = new DanhMucChinh_Ctl();
            SqlDataAdapter adapter = new SqlDataAdapter();
           // adapter = DMC.LayDanhMucChinh();
            DataSet ds = new DataSet();
            adapter.Fill(ds);
            this.DropDownList1.DataSource = ds;
            this.DropDownList1.DataBind();


        }
    }
    protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
    {

    }
}
